package cn.itcast.wanxinp2p.consumer.mapper;

import cn.itcast.wanxinp2p.api.account.model.ConsumerRegisterDTO;
import cn.itcast.wanxinp2p.consumer.entity.Consumer;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


@Mapper
public interface ConsumerMapper  {

    Consumer getMobile(@Param("mobile") String mobile);

    void save(Consumer consumer);
}